package com.gxa.ssm340.service;

import com.gxa.ssm340.entity.dto.ExchangeGoodsDTO;
import com.gxa.ssm340.entity.dto.SubmitPointsDTO;
import com.gxa.ssm340.entity.dto.UserPointsDTO;
import com.gxa.ssm340.entity.pojo.Goods;
import com.gxa.ssm340.entity.pojo.Points;
import com.gxa.ssm340.entity.pojo.User;
import com.gxa.ssm340.exception.BizException;

import java.util.List;

public interface PointsCancelService {
    UserPointsDTO getTotalPointsByPhone(String phone) throws BizException;
    List<Goods> getAllGoods();
    Integer addExchangeGoods(ExchangeGoodsDTO dto);
    Integer addPoints(SubmitPointsDTO dto);
}
